import request from '@/utils/request'

// 查询设备指纹记录列表
export function listFingerprintLog(query) {
    return request({
        url: '/app/fingerprintLog/list',
        method: 'get',
        params: query
    })
}

// 查询设备指纹记录详细
export function getFingerprintLog(id) {
    return request({
        url: '/app/fingerprintLog/' + id,
        method: 'get'
    })
}

// 新增设备指纹记录
export function addFingerprintLog(data) {
    return request({
        url: '/app/fingerprintLog',
        method: 'post',
        data: data
    })
}

// 修改设备指纹记录
export function updateFingerprintLog(data) {
    return request({
        url: '/app/fingerprintLog',
        method: 'put',
        data: data
    })
}

// 删除设备指纹记录
export function delFingerprintLog(id) {
    return request({
        url: '/app/fingerprintLog/' + id,
        method: 'delete'
    })
}

// 导出设备指纹记录
export function exportFingerprintLog(query) {
    return request({
        url: '/app/fingerprintLog/export',
        method: 'get',
        params: query
    })
}